﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.Data.Linq.Mapping;
using System.Runtime.Serialization;

namespace RaisingStudio.Data.Entities
{
    /// <summary>
    /// Category
    /// </summary>
    [Serializable]
    [DataContract]
    [Table(Name = "Category")]
    partial class GCategory
    {
        #region Members

        private Guid _CategoryId;
        /// <summary>
        /// CategoryId
        /// </summary>
        [Description("CategoryId")]
        [DataMember]
        [Column(Name = "CategoryId", DbType="string", CanBeNull = false, IsPrimaryKey = true)]
        public Guid CategoryId
        {
          get 
          {
              return this._CategoryId;
          }
          set 
          {
              this._CategoryId = value;
          }
        }


        private string _Name;
        /// <summary>
        /// Name
        /// </summary>
        [Description("Name")]
        [DataMember]
        [Column(Name = "Name", CanBeNull = false)]
        public string Name
        {
          get 
          {
              return this._Name;
          }
          set 
          {
              this._Name = value;
          }
        }


        private string _Descn;
        /// <summary>
        /// Descn
        /// </summary>
        [Description("Descn")]
        [DataMember]
        [Column(Name = "Descn")]
        public string Descn
        {
          get 
          {
              return this._Descn;
          }
          set 
          {
              this._Descn = value;
          }
        }

        #endregion
    }
}
